package com.winning.sjzc.sjjgl.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winning.sjzc.sjjgl.entity.SJJXX;
import com.winning.sjzc.sjjgl.entity.SJYML;
import com.winning.sjzc.sjjgl.entity.SjjflEntity;
import com.winning.sjzc.sjjgl.entity.SjyxxEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DataSetDao extends BaseMapper<SJJXX> {

    List<SJJXX> queryDataSet(Map<String, Object> map);

    SJJXX queryBBHAndFBRQ();

    void saveDataSet(SJJXX sjjxx);

    SJJXX querySjjxxBySjjdmAndBbh(Map<String, Object> map);

    void deleteDataSet(@Param("map") Map<String, Object> map);

    void publishDataSet(List<SJJXX> list);

    void updateDataSet(SJJXX sjjxx);

    void pubAndUpdateDataSet(SJJXX sjjxx);

    List<SJYML> querySjyml(Map<String, Object> map);

    void deleteSjyml(List<SJYML> list);

    void updateSjyml(SJYML sjyml);

    void saveSjyml(List<SJYML> list);

    List<SjyxxEntity> querySjyxxBySjjdm(Map<String, Object> map);

    List<SJJXX> queryAllSjjfl();

    List<SjjflEntity> querySjjxxTree();

    String querySjjFbxxByBbh(String bbh);
}
